﻿import QtQuick 2.0

Item {
    id: root
    width: 300
    height: 424

    Connections{
        target: widget
        onSendKeyPress: {
//            console.log("====",name)
            label.text = name
        }
    }

    Image {
        source: "qrc:/imamges/image/girl.png"
    }

    Text {
        id: label
        x: 57
        y: 265
        width: 85
        height: 100
        horizontalAlignment: Text.AlignHCenter
        verticalAlignment: Text.AlignVCenter
        font.pixelSize: width/label.text.length
        color: "#404644"
        font.bold: true
        font.family: "微软雅黑"
    }   
}
